package com.dotflat.rest.utils;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * 查询时可模糊查询字段
 */
@Documented
@Target(FIELD)
@Retention(RUNTIME)
public @interface LikeableField {
    boolean left = true;
    boolean right = true;
}
